type FilesType = {
  default: {};
};

const buttons = {};
const files = import.meta.glob('./**/*.ts', { eager: true });

Object.keys(files).forEach((key) => {
  const mod = (files[key] as FilesType).default || {};
  Object.assign(buttons, mod);
});

export default buttons;
